
    <!-- Fixed navbar -->
    <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
            <span class="sr-only">坤子的博客</span>
          </button>
         <!-- <a class="navbar-brand" href="/">首页</a>-->
        </div>
        <div class="navbar-collapse collapse" id="webnav">
          <ul class="nav navbar-nav">
            <li class="active"><a href="/">首页</a></li>
            <li id="wiki"><a href="/wiki/">教程</a></li>
            <li id="pic"><a href="/pic/">照片</a></li>
            <li id="about"><a href="/about/">关于我</a></li>
            <li id="contact" style="display: none"><a href="/resume/">简历</a></li>
            <li class="dropdown">
              <a href="#" data-toggle="dropdown" style="display: none">English<span class="caret"></span></a>
              <ul class="dropdown-menu" style="display: none" role="menu">
                <li><a href="/english/">每日英语</a></li>
                <li><a href="/english/word/">每日单词</a></li>
                
              </ul>
            </li>
    
          </ul>
          <ul class="nav navbar-nav navbar-right">
          {% if user.is_authenticated %}
          <li id="manage"><a href="/manage/add/">添加博客+</a></li>
          <li id="manage"><a href="/manage/upload/">上传笔记+</a></li>
          <li><a href="/logout/">注销</a></li>
          {% endif %}
          <li><a href="/feed/"><img src="/site_media/img/rss.png" alt="订阅" width="24" height="24"/></a></li>
          </ul>
        </div><!--/.nav-collapse -->
      </div>
    </div>
